# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:

pkgname=lxappearance
pkgver=0.6.3
pkgrel=1
pkgdesc='Feature-rich GTK+ theme switcher'
arch='all'
license='GPL2'
url='https://lxde.org/'
makedepends='gtk+2.0-dev intltool dbus-glib-dev'
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
    cd "$builddir"
    ./configure \
	--build=$CBUILD \
	--host=$CHOST \
	--prefix=/usr \
	--sysconfdir=/etc \
	--enable-dbus \
	|| return 1
    make  || return 1
}

package() {
    cd "$builddir"
    make DESTDIR="$pkgdir" install || return 1
}

sha512sums="035cc952a33ac25408a4158cb4e745b17af3f29b5ceedfbe6b37235d16c801658403e862cd35ad7c8ca20fe6186fab1dce74a6e8d3b2eec12a30d532fc21662c  lxappearance-0.6.3.tar.xz"
